package com.purplesoft.zettl.Utilities;

import java.text.SimpleDateFormat;
import java.util.Date;

@SuppressWarnings("serial")
public class CurrentDateTime extends SimpleDateFormat {

	private Date now;
	
	public String getNow() {
		now = new Date();
		applyPattern("yyyy-MM-dd HH:mm:ss.SSS");
	    String currentDateTime = format(now);
	    return currentDateTime;
	}
	
}
